Numeral Parsing
Pluto makes two small changes to numeral parsing.
Cosmetic Underscores
You can add underscores to your numeric literals to make them more readable.
plutolocal n = 10_000_000print(n) --> 10000000
These underscores are ignored by the compiler, so they are purely cosmetic.
Binary & Octal Numerals
Similar to how Lua allows you to input numbers in hexadecimal:
plutolocal n = 0x2Aprint(n) --> 42
Pluto allows you to input numbers in binary and octal as well:
plutolocal n = 0b101010print(n) --> 42
plutolocal n = 0o52print(n) --> 42